import React from "react";
import { NavBar, Icon } from "zarm";
import "./header.scss";
export default function Header() {
  return (
    <div className="header">
      <NavBar
        // left={
        //   <Icon
        //     type="arrow-left"
        //     theme="primary"
        //     onClick={() => window.history.back()}
        //   />
        // }
        right={
          <Icon type="icon-caidan" onClick={() => window.history.back()} />
        }
        title="猫眼电影"
      />
    </div>
  );
}
